package com.yxx.medicinepojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 西药
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WesternMedicine implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**西药名称*/
    private String name;

    /**药品分类id*/
    private Long categoryId;

    /**西药价格*/
    private BigDecimal price;

   /**图片*/
    private String image;

    /**描述信息*/
    private String description;

    /**
     * 0 下架 1 上线
     * */
    private Integer status;


    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long createUser;

    private Long updateUser;

}
